package com.yinp.proapp.module.customview.activity;

import com.yinp.proapp.R;
import com.yinp.proapp.base.activity.AppBaseActivity;
import com.yinp.proapp.databinding.ActivityTestCircleBinding;
import com.yinp.proapp.utils.StatusBarUtil;

/**
 * @Author: yinp
 * @Date: 2021/9/17
 * @Description:测试圆环和圆饼
 */
public class TestCircleActivity extends AppBaseActivity<ActivityTestCircleBinding> {
    @Override
    protected void initViews() {
        setStatusBarHeight(StatusBarUtil.getStatusBarHeight(mContext));
        bd.clvOne.setOtherColorStage(new int[]{R.color.ff4d4d, R.color.green, R.color.blue,R.color._01a6fd}, new int[]{30, 30, 30, 30}, 120);
        bd.stvStart.setOnClickListener(v -> {
            bd.clvOne.startAnimator(0, 360, 2000, null);
        });
    }
}